export interface CreateOrUpdateBannersRequestData {
  id?: string | undefined
  index: number
  img_url: string
  page_id: string
  platform: string
  link: string
  title?: string
  title_en?: string
  description?: string
  description_en?: string
}

export interface GetBannersRequestData {
  /** 当前页码 */
  page: number
  /** 查询条数 */
  size: number
}

export interface GetBannersDetailRequestData {
  /** 详情id */
  id: string
}

export interface GetBannersData {
  id: string
  index: number
  page_id: string
  link: string
  img_url: string
  platform: string
  title: string
  title_en: string
  description: string
  description_en: string
}
export type GetNewResponeseDetailData = ApiResponseData<GetBannersData>

export type GetBannersResponseData = ApiResponseData<{
  list: GetBannersData[]
  total: number
  page: number
}>
